package com.example.qt.ptplatform.dto;

public class LeaderboardDto {
    private String nickname;    // 用户昵称
    private Integer userPoints; // 用户积分

    // 构造方法
    public LeaderboardDto(String nickname, Integer userPoints) {
        this.nickname = nickname;
        this.userPoints = userPoints;
    }

    // Getter 和 Setter
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getUserPoints() {
        return userPoints;
    }

    public void setUserPoints(Integer userPoints) {
        this.userPoints = userPoints;
    }
}
